from typing import Any, Dict, List
from pydantic import BaseModel, Field

class FlowData(BaseModel):
    nodes: List[Dict[str, Any]] = Field(default_factory=list)
    edges: List[Dict[str, Any]] = Field(default_factory=list)